﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using kim.Common;

namespace kim
{
     partial class ImgIndex : kim.UI.ManagePage
    {
        protected string StrPage;
        protected int pageSize, pageIndex,typeid,fid;
        protected void Page_Load(object sender, EventArgs e)
        {
            labtitle.Text = "图片列表";
            if (!IsPostBack)
            {
                typeid = kim.Common.KIMRequest.GetInt("typeid", 1);
                fid = kim.Common.KIMRequest.GetInt("fid", 1);
                pageSize = 10;
                pageIndex = KIMRequest.GetInt("p", 1);
                GetStrPage(rptlist, "Show", "sort desc", "typeid=" + typeid + "and ChannelId=" + fid, "typeid=" + typeid + " and ChannelId=" + fid, pageIndex, pageSize, "ImgIndex.aspx?typeid=" + typeid + "& fid=" + fid, 5, out StrPage);
            }
        }
       
    }
}